#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

#include <signal.h>
static int loop = 1;
static void alrm_handler(int s){	
	loop = 0;

}

int main(){

	
	int64_t count = 0;
	alarm(5);
	signal(SIGALRM.alrm_handler);
	while(loop){
		count ++;
	}
	printf("%lld\n",count);
	exit(0);


}
